package com.scetop.bank;

public class OverdraftException extends RuntimeException{
    private static final long   serialVersiouUID = 1L;

    private final double deficit;

    public OverdraftException(String msg, double deficit){
        super(msg);
        this.deficit = deficit;
    }

    public double getDeficit(){
        return deficit;
    }

}
